package com.example.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.entity.SCategory;
import com.example.mapper.SCategoryMapper;
import com.example.service.SCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 鞋子分类表,不依赖于任何表 服务实现类
 * </p>
 *
 * @author zh
 * @since 2024-05-13 10:36:38
 */
@Service
public class SCategoryServiceImpl extends ServiceImpl<SCategoryMapper, SCategory> implements SCategoryService {
    @Autowired
    private SCategoryMapper categoryMapper;
    public void updateRecover(SCategory category, LambdaQueryWrapper<SCategory> wrapper) {
        categoryMapper.updateRecover(category,wrapper);
    }
}
